home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / Tools / lynx-2.4 / WWW / Library / vms / libmake.com < prev   
Encoding:
Text File  |  1995-06-28  |  5.5 KB  |  166 lines

  1. $ v = 'f$verify(0)'
  2. $!            LIBMAKE.COM
  3. $!
  4. $!   Command file to build the WWWLibrary on VMS systems.
  5. $!
  6. $!   03-May-1995    F.Macrides        macrides@sci.wfeb.edu
  7. $!    Include /nomember for compilations with DECC.  It's not the
  8. $!    default on AXP and the code assumes byte alignment.
  9. $!   07-Dec-1994    F.Macrides        macrides@sci.wfeb.edu
  10. $!    Updated for DECC/VAX, VAXC/VAX and DECC/AXP
  11. $!   03-NOV-1994    A.Harper        A.Harper@kcl.ac.uk
  12. $!    Mods to support SOCKETSHR/NETLIB and add a /DEBUG/NOOPT option
  13. $!   02-Jun-1994    F.Macrides        macrides@sci.wfeb.edu
  14. $!    Mods to support TCPWare (To use non-blocking connects, you need
  15. $!    the DRIVERS_V405B.INC patch from FTP.PROCESS.COM for TCPware for
  16. $!    OpenVMS Version 4.0-5, or a higher version of TCPWare, which will
  17. $!    have that bug in the TCPDRIVER fixed.  Otherwise, add NO_IOCTL to
  18. $!    the /define=(...) list.)
  19. $!   20-May-1994    Andy Harper        A.Harper@bay.cc.kcl.ac.uk
  20. $!    Added support for the CMU TCP/IP transport
  21. $!   13-Dec-1993    F.Macrides        macrides@sci.wfeb.edu
  22. $!    Mods for conditional compilations with VAXC versus DECC
  23. $!   10-Dec-1993    F.Macrides        macrides@sci.wfeb.edu
  24. $!    Initial version, for WWWLibrary v2.14 with Lynx v2.1
  25. $!
  26. $ ON CONTROL_Y THEN GOTO CLEANUP
  27. $ ON ERROR THEN GOTO CLEANUP
  28. $ agent = 0
  29. $ extra = ""
  30. $ IF P1 .EQS. ""
  31. $ THEN
  32. $     write sys$output "Acceptable TCP/IP agents are"
  33. $     write sys$output " [1] MultiNet (default)"
  34. $     write sys$output " [2] UCX"
  35. $     write sys$output " [3] WIN_TCP"
  36. $    write sys$output " [4] CMU_TCP"
  37. $    write sys$output " [5] SOCKETSHR_TCP"
  38. $    write sys$output " [6] TCPWARE"
  39. $     write sys$output " [7] DECNET"
  40. $     read sys$command/prompt="Agent [1,2,3,4,5,6,7] (RETURN = [1]) " agent
  41. $ ENDIF
  42. $ if agent .eq. 1 .or. agent .eqs. "" .or. p1 .eqs. "MULTINET" then -
  43.     transport = "MULTINET"
  44. $ if agent .eq. 2 .or. p1 .eqs. "UCX" then transport = "UCX"
  45. $ if agent .eq. 3 .or. p1 .eqs. "WIN_TCP" then transport = "WIN_TCP"
  46. $ if agent .eq. 4 .or. p1 .eqs. "CMU_TCP" then transport = "CMU_TCP"
  47. $ if agent .eq. 5 .or. p1 .eqs. "SOCKETSHR_TCP" then transport = "SOCKETSHR_TCP"
  48. $ if agent .eq. 6 .or. p1 .eqs. "TCPWARE" then transport = "TCPWARE"
  49. $ if agent .eq. 7 .or. p1 .eqs. "DECNET" then transport = "DECNET"
  50. $!
  51. $ if transport .eqs. "TCPWARE" then extra = ",UCX"
  52. $!
  53. $ cc_opts = ""
  54. $ if p2 .nes. "" then cc_opts = "/DEBUG/NOOPT"
  55. $!
  56. $ IF f$trnlnm("VAXCMSG") .eqs. "DECC$MSG" .or. -
  57.      f$trnlnm("DECC$CC_DEFAULT") .eqs. "/DECC"
  58. $ THEN
  59. $  v1 = f$verify(1)
  60. $! DECC:
  61. $  v1 = 'f$verify(0)'
  62. $  If transport .eqs. "UCX" .or. transport .eqs. "TCPWARE"
  63. $  Then
  64. $  v1 = f$verify(1)
  65. $!
  66. $ cc/prefix=all /nomember 'cc_opts'-
  67.     /warning=(disable=implicitfunc)-
  68.     /DEFINE=(DEBUG,ACCESS_AUTH,'transport''extra',VC="""2.14""")-
  69.     /INCLUDE=([-.Implementation]) -
  70.     [-.Implementation]HTString.c
  71. $!
  72. $ cc := cc/prefix=all /nomember 'cc_opts'-
  73.       /warning=(disable=implicitfunc)-
  74.       /DEFINE=(DEBUG,ACCESS_AUTH,'transport''extra')-
  75.       /INCLUDE=([-.Implementation])
  76. $!
  77. $  v1 = 'f$verify(0)'
  78. $  Else
  79. $  v1 = f$verify(1)
  80. $!
  81. $ cc/prefix=ansi /nomember 'cc_opts'-
  82.     /warning=(disable=implicitfunc)-
  83.     /DEFINE=(DEBUG,ACCESS_AUTH,'transport''extra',VC="""2.14""")-
  84.     /INCLUDE=([-.Implementation]) -
  85.     [-.Implementation]HTString.c
  86. $!
  87. $ cc := cc/prefix=ansi /nomember 'cc_opts'-
  88.       /warning=(disable=implicitfunc)-
  89.       /DEFINE=(DEBUG,ACCESS_AUTH,'transport''extra')-
  90.       /INCLUDE=([-.Implementation])
  91. $!
  92. $  v1 = 'f$verify(0)'
  93. $  EndIf
  94. $ ELSE
  95. $  v1 = f$verify(1)
  96. $! VAXC:
  97. $!
  98. $ cc/DEFINE=(DEBUG,ACCESS_AUTH,'transport''extra',VC="""2.14""") 'cc_opts'-
  99.     /INCLUDE=([-.Implementation]) -
  100.     [-.Implementation]HTString.c
  101. $!
  102. $ cc := cc/DEFINE=(DEBUG,ACCESS_AUTH,'transport''extra') 'cc_opts'-
  103.       /INCLUDE=([-.Implementation])
  104. $!
  105. $ v1 = 'f$verify(0)'
  106. $ ENDIF
  107. $ v1 = f$verify(1)
  108. $ cc [-.Implementation]HTParse.c
  109. $ cc [-.Implementation]HTAccess.c
  110. $ cc [-.Implementation]HTTP.c
  111. $ cc [-.Implementation]HTFile.c
  112. $ cc [-.Implementation]HTBTree.c
  113. $ cc [-.Implementation]HTFTP.c
  114. $ cc [-.Implementation]HTTCP.c
  115. $ cc [-.Implementation]SGML.c
  116. $ cc [-.Implementation]HTMLDTD.c
  117. $ cc [-.Implementation]HTChunk.c
  118. $ cc [-.Implementation]HTPlain.c
  119. $ cc [-.Implementation]HTWriter.c
  120. $ cc [-.Implementation]HTFWriter.c
  121. $ cc [-.Implementation]HTMLGen.c
  122. $ cc [-.Implementation]HTAtom.c
  123. $ cc [-.Implementation]HTAnchor.c
  124. $ cc [-.Implementation]HTStyle.c
  125. $ cc [-.Implementation]HTList.c
  126. $ cc [-.Implementation]HTAlert.c
  127. $ cc [-.Implementation]HTRules.c
  128. $ cc [-.Implementation]HTFormat.c
  129. $ cc [-.Implementation]HTInit.c
  130. $ cc [-.Implementation]HTMIME.c
  131. $ cc [-.Implementation]HTHistory.c
  132. $ cc [-.Implementation]HTNews.c
  133. $ cc [-.Implementation]HTGopher.c
  134. $ cc [-.Implementation]HTTelnet.c
  135. $ cc [-.Implementation]HTWSRC.c
  136. $ cc [-.Implementation]HTAAUtil.c
  137. $ cc [-.Implementation]HTAABrow.c
  138. $ cc [-.Implementation]HTAAServ.c
  139. $ cc [-.Implementation]HTAAFile.c
  140. $ cc [-.Implementation]HTPasswd.c
  141. $ cc [-.Implementation]HTGroup.c
  142. $ cc [-.Implementation]HTACL.c
  143. $ cc [-.Implementation]HTAuth.c
  144. $ cc [-.Implementation]HTAAProt.c
  145. $ cc [-.Implementation]HTAssoc.c
  146. $ cc [-.Implementation]HTLex.c
  147. $ cc [-.Implementation]HTUU.c
  148. $ cc [-.Implementation]HTVMSUtils.c
  149. $ cc [-.Implementation]getpass.c
  150. $ cc [-.Implementation]getline.c
  151. $ cc [-.Implementation]crypt.c
  152. $ cc [-.Implementation]crypt_util.c
  153. $ cc [-.Implementation]HTWAIS.c
  154. $ cc [-.Implementation]HTVMS_WaisUI.c
  155. $ cc [-.Implementation]HTVMS_WaisProt.c
  156. $!    
  157. $ If f$search("[-.Implementation]WWWLib_''transport'.olb") .eqs. "" Then -
  158.     LIBRARY/Create [-.Implementation]WWWLib_'transport'.olb
  159. $ LIBRARY/Replace [-.Implementation]WWWLib_'transport'.olb *.obj
  160. $ Delete/nolog/noconf *.obj;*
  161. $!
  162. $ v1 = 'f$verify(0)'
  163. $ CLEANUP:
  164. $    v1 = f$verify(v)
  165. $exit
  166.